package com.wx.ssm.service.Impl;

import com.wx.ssm.dao.UserMapper;
import com.wx.ssm.model.User;
import com.wx.ssm.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author shkstart
 * @create 2020-05-07 17:28
 */
@Service("userService")
public class UserServiceImpl implements IUserService
{


    @Autowired
    private UserMapper userMapper ;

    @Override
    public User queryUsers(int id) {

        return  userMapper.selectByPrimaryKey(id);
    }
}
